aboutsummaryrefslogtreecommitdiffstats
path: root/middleware/src/app/[gameName]
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-01 10:10:23 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-01 10:10:23 -0700
commitfdebd69904e3b225dde1182de2fe9938344abbf2 (patch)
tree9862990fcc68323a5366ef2e058d218ede49a04b /middleware/src/app/[gameName]
parentfdbf92c95c5355136c38e958f6add37a8d242aa7 (diff)
add not-found page
Diffstat (limited to 'middleware/src/app/[gameName]')
-rw-r--r--middleware/src/app/[gameName]/page.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/src/app/[gameName]/page.tsx b/middleware/src/app/[gameName]/page.tsx
index 76d883b..d4e7b51 100644
--- a/middleware/src/app/[gameName]/page.tsx
+++ b/middleware/src/app/[gameName]/page.tsx
@@ -89,7 +89,7 @@ export default async function GamePage({
}
const redirectUrl =
- postId && mainNewsUrl ? `${mainNewsUrl}/game/${gameName}#${postId}` : null;
+ postId && mainNewsUrl ? `${mainNewsUrl}/game/${gameName}#${postId}` : mainNewsUrl;
return (
<main className="main">
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage